package exception;

/**
 * @author Zlatka Trajcheska, Marija Petkovska
 * @version 1.0 03.03.2013 
 * 
 * This class is an Exception that is thrown when we have more tokens in the list
 * and the Stack is empty in the parser. This means that the string that is parsed contains 
 * extra characters that are not needes.
 */


public class ExtraCharactersException extends Exception {

	/**
	 * This method is the constructor of the class.
	 * It calls the constructor of the Superclass with a proper message.
	 */
	public ExtraCharactersException() {
		super("The parsing was NOT successful" +
				"\n. Extra characters in the string.");
	}

}
